Woocommerce\Pagarme\Model\Checkout A

Total Complexity 64
Dependencies 17
Dependents 3
Total lines 298
Lines of code 239
Logical lines of code 132
Comment lines 15
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
convertCheckoutObject()
A
44 11 47
extractMulticustomers()
A
49 11 31
process()
A
42 8 52
validateCheckout()
A
54 8 23
__construct()
S
54 5 24
formatFieldsWhenIsSubscription()
S
61 4 11
extractOrderValue()
S
65 4 9
getCardId()
S
61 3 12
addInstallmentsOnMetaData()
S
65 3 9
extractGooglePayToken()
S
71 2 6
addAuthenticationOnMetaData()
S
70 2 6
getTotalValue()
S
72 2 6
getConfig()
S
82 1 3